package com.mk.Mapper;

import com.mk.Entity.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CommentMapper {
    List<Comment> selectAll(Long bid , Long pid);

    Comment selectOne(Long id);

    void insert(Comment comment);
    void update(Comment comment);
    void delete(Long id);
}
